package com.example.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot.common.PageParam;
import com.example.springboot.entity.Poet;
import com.example.springboot.entity.PoetVo;
import com.example.springboot.vo.CountLocaleVO;

import java.util.List;
import java.util.Map;

public interface IPoetService extends IService<Poet> {

    List<PoetVo> getList();

    List<Poet> getAgeList();

    CountLocaleVO countLocale(PageParam param);

    List<Poet> countSurname(PageParam param);

    List<Map<String,Integer>> getMap();

    List<Map<String,String>> getNameMap();
}

